package com.xwh.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xwh.system.entity.SysFile;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @author xwh
 **/
public interface SysFileService extends IService<SysFile> {
    SysFile getFileBean(MultipartFile file);

    void ftpUpload(SysFile fileBean, MultipartFile file) throws IOException;

    void sftpUpload(SysFile fileBean, MultipartFile file);
}
